export const rules = {
    orderName: [
        { required: true, message: '请输入工单名称', trigger: 'blur' },
    ],
    orderType: [
        { required: true, message: '请选择工单类型', trigger: 'change' }
    ],
    // times: [
    //     { required: true, message: '请选择提交时段', trigger: 'change' }
    // ],
    // lastTime: [
    //     { required: true, message: '请选择延期提交时间', trigger: 'change' }
    // ],
    deptId: [
        { required: true, message: '请选择所属部门', trigger: 'change' }
    ],
    leaderId: [
        { required: true, message: '请选择负责人', trigger: 'change' }
    ],
    times: [
        { required: true, message: '请选择执行时间', trigger: 'change' }
    ],
    deduction: [
        { required: true, message: '请输入延期扣分', trigger: 'blur' }
    ],
    // comments: [
    //     { required: true, message: '请输入工单说明', trigger: 'blur' },
    //     { min: 4, max: 200, message: '工单说明4-200位', trigger: 'blur' },
    // ],
}